package com.pro.back.service;

import com.pro.back.bean.Borrow;
import com.pro.back.bean.common.ApiRes;
import com.pro.back.bean.po.BorrowPO;
import com.pro.back.bean.po.ReturnParam;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.text.ParseException;

/**
 * @Author: jingwenjuan
 * @Description:
 * @Date: 2025-04-19
 */
public interface BorrowService {

    public ApiRes selectAllBorrow(BorrowPO po);

    public ApiRes insertBorrow(Borrow borrow) throws ParseException;

    ApiRes delBorrow(Long id);

    ApiRes returnDevice(ReturnParam param);
}
